﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;

namespace Public
{
    public class ConfigHelper
    {
        public static string GetSetting(string appSettingKey)
        {
            try
            {
                string SettingValue = ConfigurationManager.AppSettings[appSettingKey];
                return SettingValue;
            }
            catch (Exception ex)
            {
                MB.Util.TraceEx.Write(ex.Message);
                return "";
            }
        }
    }
}
